package com.k.demo.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.k.demo.entity.PointDetail;
import com.k.demo.entity.RedBag;

public interface PointDetailService {

	int insertPointDetail(PointDetail pointDetail);
	
	List<PointDetail> getAll(int user_id);
	
	//分页显示全部
	PageInfo<PointDetail> getAlltWithPage(int pageNum,int pageSize);
	
	//根据传入对象查找对应积分变动明细并分页显示
	PageInfo<PointDetail> searchResultWithPage(int pageNum,int pageSize,PointDetail pointDetail);
	
	Double getTotalPointByDate(String date);

}
